package cn.iocoder.yudao.module.jifenyuan.controller.app.room.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;

import com.alibaba.excel.annotation.ExcelProperty;
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;


/**
 * 记分员 房间 Excel VO
 *
 * @author 芋道源码
 */
@Data
public class AppRoomExcelVO {

    @ExcelProperty("id")
    private Long id;

    @ExcelProperty("房间名称")
    private String roomName;

    @ExcelProperty("房间管理员id")
    private Long leaderId;

    @ExcelProperty("邀请码")
    private String inviteCode;

    @ExcelProperty(value = "房间状态", converter = DictConvert.class)
    @DictFormat("jifenyuan_room_status") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private Integer status;

    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @ExcelProperty("观察码")
    private String observerCode;

    @ExcelProperty("房间类型")
    private Integer type;
    /**
     * 是否是vip房间
     */
    @Schema(description = "是否是vip房间", example = "true")
    @ExcelProperty("是否是vip房间")
    private Boolean vip;

}
